Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting_started で画像表示をシンプルなコードに更新 #1810

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

rakuda-san-desu
Copy link

<picture class="flowdiagram">
  <source srcset="images/getting_started/mvc_architecture_dark.jpg" media="(prefers-color-scheme:dark)">
  <img src="images/getting_started/mvc_architecture_light.jpg" alt="MVCアーキテクチャの図">
</picture>

英語版のサイトではダークモードの時に画像が切り替わるようです。
Railsガイドでは画像の切り替えは未実装なので、一旦コメントアウトし、他所と同様の記述に更新しました。

CIが通ったらマージします🙏

@rakuda-san-desu rakuda-san-desu merged commit ed0ecbf into master Jan 8, 2025
1 check passed
@rakuda-san-desu rakuda-san-desu deleted the simplify_code_for_image branch January 8, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant